package boot.spring.mapper;

import java.util.List;
import java.util.Map;

import boot.spring.po.User;

public interface UserMapper {
    public List<User> getAllUsers();

    public List<Map<String, Object>> listUserMap();

    public void updateUserById(User u);

    public User getUserById(Integer id);

    public void insertUser(User u);

    public void deleteUser(Integer id);

    public List<User> selectUserByName(User u);
}